package com.stefan.framework;

import java.util.HashMap;
import java.util.Map;

public class LocalRegister {
    private final static Map<String, Class> services = new HashMap<>();

    public static void register(String interfaceName, Class service) {
        services.put(interfaceName, service);
    }
    public static Class getService(String interfaceName) {
        return services.get(interfaceName);
    }
}
